package io.github.stary1993.kite.admin.quartz;

import io.github.stary1993.kite.quartz.event.QuartzJobLogEvent;
import io.github.stary1993.kite.quartz.event.QuartzJobLogListener;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class MyQuartzJobLogListener implements QuartzJobLogListener {
    /**
     * @param quartzJobLogEvent
     */
    @Override
    public void handle(QuartzJobLogEvent quartzJobLogEvent) {
        log.info("监听到任务执行日志结果:{}", quartzJobLogEvent.getQuartzJobLog());
    }
}
